package com.browsesoft.resource;

/**
 * 资源类型
 */
public class ResourceType {
	private String type = "";

	public ResourceType(String str) {
		type = str;
	}

	/**
	 * 得到类型
	 * 
	 * @return 类型
	 */
	public String getType() {
		return this.type;
	}

	/**
	 * 看两个资源类型是否相同
	 */
	public boolean equals(Object other) {
		ResourceType rt = (ResourceType) other;
		return this.type.equals(rt.getType());
	}
}